#ifndef MYTHREAD_H
#define MYTHREAD_H

#include    <QThread>
class TestThread: public QThread
{
    Q_OBJECT
public:
    TestThread(int index);
    ~TestThread();
private:
    int     threadIndex;
    QTime   *time;
protected:
    void    run() Q_DECL_OVERRIDE;  //线程任务
signals:
    void    newValue(QString seq); //产生新点数的信号
};

#endif // MYTHREAD_H
